package com.quanyan.user.service;

import com.quanyan.api.APIResponse;
import com.quanyan.user.model.vo.DoyenActivity;
import com.quanyan.user.model.vo.request.SmsInfo;
import com.quanyan.user.model.vo.response.RespCheckDarenAuth;

import java.util.List;

/**
 * Created by Administrator on 2016/8/24.
 *
 * 调用C端接口
 */
public interface HttpClientService {

    /**
     *发短信接口 C 端
     */
    APIResponse sendSms(Integer adminUid,SmsInfo smsInfo);

    /**
     * 更新设置回调接口
     * @return
     */
    void updateSetting(Integer currentUid,List<Integer> interests, Integer type, Integer state);

    /**
     * 获取动态信息
     * @param uid
     * @param phNum
     * @return
     */
    String getDynamicsMsg(Integer uid,Integer phNum) throws Exception;

    /**
     * 获取动态信息和竞拍信息
     * @param uid
     * @param phNum
     * @return
     * @throws Exception
     */
    String getAuctionAndDynamicsMsg(Integer uid,Integer phNum) throws Exception;

    /**
     * 获取用户关系信息
     * @param currentUid
     * @param uid
     * @return
     * @throws Exception
     */
    String getUserRelationInfo(Integer currentUid,Integer uid) throws Exception;


    /**
     * 批量获取达人活动
     * @param lstActivityId
     * @return
     */
    List<DoyenActivity> getDyActivity(List<Integer> lstActivityId);

    /**
     * 登录检查是否为达人
     * @param type
     * @param account
     * @return
     */
    RespCheckDarenAuth checkDarenAuth(int type,String account);

    /**
     * 获取某人可预约最新达人活动
     * @param uid
     * @return
     */
    DoyenActivity getDoyenActivity(Integer uid );
}
